package com.Eastiy.EXO.Menu;

import android.content.Context;
import android.view.View;
import android.widget.PopupWindow;
import com.Eastiy.EXO.Load;
import com.Eastiy.EXO.View.ASUI;
import com.Eastiy.EXO.View.NewMoveCB;

public class chong {
    public static boolean chongb = false;
    public static PopupWindow chongcdv;
    public static Context context;

    /* renamed from: H */
    private static int m18H() {
        return context.getResources().getDisplayMetrics().heightPixels;
    }

    /* renamed from: W */
    private static int m19W() {
        return context.getResources().getDisplayMetrics().widthPixels;
    }

    public static void dis() {
        chongcdv.dismiss();
    }

    public static void show(Context context2) {
        context = context2;
        chongcdv = new NewMoveCB().NewMoveCB(context2, "点", chongb, new Object[]{new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                if (!chong.chongb) {
                    chong.chongb = true;
                    Load.autoclicker(1);
                    ASUI.hint(chong.context, "已开启自动点击");
                    return;
                }
                chong.chongb = false;
                Load.autoclicker(0);
                ASUI.hint(chong.context, "已关闭自动点击");
            }
        }, new Boolean(false)}, 0, 0);
    }
}
